package com.efesco.payroll.query;

import com.bstek.dorado.view.AbstractViewModel;
import com.bstek.dorado.common.DoradoContext;
import com.bstek.dorado.view.control.*;
import com.efesco.system.*;


/**
 * deptQueryViewModel
 */
public class deptQueryViewModel extends AbstractViewModel {
  protected void initControl(Control control)
      throws Exception {
    //super.initControl(id, control);
	  String id="DEPT_CHOOSE_CMP";
	  if(control.getId().equals(id)){
		  control=this.getControl(id);
	      ClientRightControl clientRightControl=new ClientRightControl();
	      clientRightControl.rightControl(id, control,DoradoContext.getContext());
	  }


  }


}
